import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index.js'
import "./assets/css/index.less";
import animate from 'animate.css'

// 统一注册icon
import * as ElIconModules from '@element-plus/icons-vue'




const app = createApp(App)
app.use(router)
app.mount('#app')

// 统一注册Icon图标
for (const iconName in ElIconModules) {
    if (Reflect.has(ElIconModules, iconName)) {
        const item = ElIconModules[iconName]
        app.component(iconName, item)
    }

}